User=ubuntu
cnt=0
for i in $(./getAllDNSs.sh); do
	DNS=$i
	echo connecting to instance $DNS
	(cat pullCommands | ssh -oStrictHostKeyChecking=no -i key-pair.pem $User@$DNS sh) &
done


